﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tDataObjectReference")]
[XmlRoot("dataObjectReference", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class DataObjectReference : FlowElement
{
    /// <remarks/>
    [XmlElement("dataState")]
    public DataState DataState { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("itemSubjectRef")]
    public XmlQualifiedName ItemSubjectRef { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("dataObjectRef", DataType = "IDREF")]
    public string DataObjectRef { get; set; } = default!;
}
